<%--
 * list.jsp
 *
 * Copyright (C) 2013 Universidad de Sevilla
 * 
 * The use of this project is hereby constrained to the conditions of the 
 * TDG Licence, a copy of which you may download from 
 * http://www.tdg-seville.info/License.html
 --%>

<%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>

<%@taglib prefix="jstl"	uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@taglib prefix="security" uri="http://www.springframework.org/security/tags"%>
<%@taglib prefix="display" uri="http://displaytag.sf.net"%>

<fieldset>

<h3><b><spring:message code="dashboard.bid"/></b></h3>
<display:table pagesize="5" class="displaytag" 
name="bid" requestURI="/dashboard/admin/show.do" id="row">
	<spring:message code="bid.moment" var="momentHeader" />
	<display:column property="moment" title="${momentHeader}" sortable="true" />
	
	<spring:message code="bid.money" var="moneyHeader" />
	<display:column property="money" title="${moneyHeader}" sortable="true"/>	
</display:table>

<br>
<h3><b><spring:message code="dashboard.customerP"/></b></h3>
<display:table pagesize="5" class="displaytag" 
name="customerP" requestURI="/dashboard/admin/show.do" id="row">
	<spring:message code="customer.name" var="nameHeader" />
	<display:column property="name" title="${nameHeader}" sortable="true" />
	
	<spring:message code="customer.surnames" var="surnamesHeader" />
	<display:column property="surnames" title="${surnamesHeader}" sortable="true"/>	
</display:table>

<br>
<h3><b><spring:message code="dashboard.gallery"/></b></h3>
<display:table pagesize="5" class="displaytag" 
name="gallery" requestURI="/dashboard/admin/show.do" id="row">
	<spring:message code="gallery.title" var="titleHeader" />
	<display:column property="title" title="${titleHeader}" sortable="true" />
</display:table>

<br>
<h3><b><spring:message code="dashboard.auction"/></b></h3>
<display:table pagesize="5" class="displaytag" 
name="auction" requestURI="/dashboard/admin/show.do" id="row">
	<spring:message code="auction.painting" var="paintingHeader" />
	<display:column property="painting.title" title="${paintingHeader}" sortable="true" />
</display:table>

<br>
<h3><b><spring:message code="dashboard.customerC"/></b></h3>
<display:table pagesize="5" class="displaytag" 
name="customerC" requestURI="/dashboard/admin/show.do" id="row">
	<spring:message code="customer.name" var="nameHeader" />
	<display:column property="name" title="${nameHeader}" sortable="true" />
	
	<spring:message code="customer.surnames" var="surnamesHeader" />
	<display:column property="surnames" title="${surnamesHeader}" sortable="true"/>	
</display:table>

<br>
<h3><b><spring:message code="dashboard.painting"/></b></h3>
<display:table pagesize="5" class="displaytag" 
name="painting" requestURI="/dashboard/admin/show.do" id="row">
	<spring:message code="painting.title" var="titleHeader" />
	<display:column property="title" title="${titleHeader}" sortable="true" />
	
	<spring:message code="painting.author" var="authorHeader" />
	<display:column property="author" title="${authorHeader}" sortable="true"/>
	
	<spring:message code="painting.date" var="dateHeader" />
	<display:column property="date" title="${dateHeader}" sortable="true"/>
</display:table>

<br>
<h3><b><spring:message code="dashboard.comment"/></b></h3>
<display:table pagesize="5" class="displaytag" 
name="comment" requestURI="/dashboard/admin/show.do" id="row">
	<spring:message code="comment.text" var="textHeader" />
	<display:column property="text" title="${textHeader}" sortable="true" />
	
	<spring:message code="comment.moment" var="momentHeader"/>
	<display:column property="moment" title="${momentHeader}" sortable="true" />
</display:table>

</fieldset>